package com.ruoyi.customerService.service.impl;

import com.ruoyi.customerService.domain.SheetChannel;
import com.ruoyi.customerService.mapper.SheetChannelMapper;
import com.ruoyi.customerService.service.SheetChannelService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SheetChannelServiceImpl implements SheetChannelService {
    @Autowired
    private SheetChannelMapper sheetChannelMapper;

    @Override
    public List<SheetChannel> selectAll() {
        return sheetChannelMapper.selectAll();
    }

    @Override
    public Boolean insert(SheetChannel sheetChannel) {
        return sheetChannelMapper.insert(sheetChannel);
    }

    @Override
    public Boolean update(SheetChannel sheetChannel) {
        return sheetChannelMapper.update(sheetChannel);
    }

    @Override
    public Boolean deleteById(Integer id) {
        return sheetChannelMapper.deleteById(id);
    }

}
